package com.ye.personnel.api.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: yeubo
 * @Date: 2024/1/2 14:28
 */
@Data
public class LoginResultVo {

    @ApiModelProperty("用户id")
    private String adminUserId;

    @ApiModelProperty("登录账号")
    private String userName;

    @ApiModelProperty("用户姓名")
    private String nickName;

    @ApiModelProperty("所属机构id")
    private String departmentId;

    @ApiModelProperty("所属机构编码")
    private String departmentNo;

    @ApiModelProperty("所属机构名称")
    private String departmentName;

    @ApiModelProperty("令牌")
    private String token;

    @ApiModelProperty("是否是超管账号 0 否 1 是")
    private Integer adminStatus;

    @ApiModelProperty("上次登录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private String lastLoginTime;
}
